package com.smedi.ismedi.personnel.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;
import java.io.Serializable;

/**
 * @Author: xulinjun
 * @Date: 2021-6-8 11:13
 */
@Data
public class ExternalPersonRequest extends PersonBasicFieldRequest implements Serializable {
    @ApiModelProperty(value = "项目组织id", required = true)
    private Long projectOrganizationId;

    @ApiModelProperty(value = "项目职务", required = true)
    @Size(max = 50, message = "最大50个字符！")
    private String projectJob;

    @ApiModelProperty(value = "项目id", required = true)
    private Long projectId;

    @ApiModelProperty(value = "项目分配id")
    private Long projectAssignmentId;
}
